import { defineStore } from "pinia";

export const useUserStore = defineStore('user', {
    state: () => ({
        id: 0,
        name: "",
        email: "",
        phone: "",
        roles: "",
        avatar: ""
    })
})

export const useTokenStore = defineStore('token', {
    state: () => ({
        uid: 0,
        token: "",
        ticket: ""
    })
})